import Vue from 'vue'
import Router from 'vue-router'
import Product from '@/containers/Product_introduction.vue'
import User from '@/containers/User_registration.vue'
import Waiting from '@/containers/Waiting_trial.vue'

Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      redirect:'/product',
    },
    {
      path: '/product',
      name: 'Product',
      component: Product,
      meta: {
        title: '产品详情'   // 标题设置
      },
    },
    {
      path: '/user',
      name: 'User',
      component: User,
      meta: {
        title: '申请微税贷'   // 标题设置
      },
    },
    {
      path: '/waiting',
      name: 'Waiting',
      component: Waiting,
      meta: {
        title: '等待初审'   // 标题设置
      },
    },
  ]
})
